window.addEvent('domready', function(){
	$(document.body).getElements('input[type=password],input[type=text],textarea').addEvents({
		'focus' : function(){
			if (this.get('value') == this.defaultValue)
			{
				this.set('value', '');
			}
		},
		'blur' : function(){
			if (this.get('value') == '')
			{
				this.set('value', (this.defaultValue));
			}
		}
	}); 
});